To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
Is modification of a collection allowed during iteration? I understand that MacApp has lists that can have items inserted/deleted while one or more iterators are using them.
I've been unable to find any mention of of this in the ODF documentation, although a couple of member variables in PRList.h have the comment "Used only when deleting while iterating".
During iteration, if I remove an element before or after the current element, it appears to delete it. I then get the assert "fSeed == fList->fSeed" on following iterations until I finish. If I try to remove the current element, I get the same assert, then I die with an "access fault exception".
Will the next update of ODF allow deleting elements (including the current element) during iteration?